package cn.cheniy.middleware.dynamic.thread.pool.sdk.registry;

import cn.cheniy.middleware.dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolConfigEntity;

import java.util.List;

/**
 * @author cheniy
 * @description
 * @create 2025/4/21
 */
public interface IRegistry {

    /**
     * 上报线程池列表
     * @param threadPoolEntities
     */
    void reportThreadPool(List<ThreadPoolConfigEntity> threadPoolEntities);

    /**
     * 上报单个线程池
     * @param threadPoolConfigEntity
     */
    void reportThreadPoolConfigParameter(ThreadPoolConfigEntity threadPoolConfigEntity);

}
